# coding=utf-8
from lib.Core.Pack import Pack


class Backpack(object):
    def __init__(self):
        super(Backpack, self).__init__()
        self.packs = []

    def add_pack(self, pack):
        if not isinstance(pack, Pack):
            raise AttributeError('背包必须为 Pack 类')
        self.packs.append(pack)

    def add_item(self, item):
        pass
